package io.renren.modules.combat.service.impl;

import org.springframework.stereotype.Service;
import java.util.Map;
import com.baomidou.mybatisplus.core.conditions.query.QueryWrapper;
import com.baomidou.mybatisplus.core.metadata.IPage;
import com.baomidou.mybatisplus.extension.service.impl.ServiceImpl;
import io.renren.common.utils.PageUtils;
import io.renren.common.utils.Query;

import io.renren.modules.combat.dao.TFightJointDao;
import io.renren.modules.combat.entity.TFightJointEntity;
import io.renren.modules.combat.service.TFightJointService;


@Service("tFightJointService")
public class TFightJointServiceImpl extends ServiceImpl<TFightJointDao, TFightJointEntity> implements TFightJointService {

    @Override
    public PageUtils queryPage(Map<String, Object> params) {
        IPage<TFightJointEntity> page = this.page(
                new Query<TFightJointEntity>().getPage(params),
                new QueryWrapper<TFightJointEntity>()
        );

        return new PageUtils(page);
    }

}